package com.yn.courseselectionsystem.service.impl;

import com.yn.courseselectionsystem.dao.SemesterDao;
import com.yn.courseselectionsystem.pojo.Semester;
import com.yn.courseselectionsystem.service.SemesterService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @description: TODO
 * @author: Tokyo_God
 * @date: 2020/12/30 18:42
 * Role of:
 * @version: v1.0
 */
@Service
public class SemesterServiceImpl implements SemesterService {

    @Resource
    private SemesterDao semesterDao;

    @Override
    public List<Semester> selSemesterAll() {
        return semesterDao.selSemesterAll();
    }

    @Override
    public Map<Integer, Semester> selSemesterMapAll() {
        return semesterDao.selSemesterMapAll();
    }
}
